package com.atjinggu.jinggumail.product.dao;

import com.atjinggu.jinggumail.product.entity.SkuSaleAttrValueEntity;
import com.atjinggu.jinggumail.product.vo.SkuItemVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * sku销售属性&值
 * 
 * @author jingming
 * @email jingming@gmail.com
 * @date 2020-12-12 23:08:28
 */
@Mapper
public interface SkuSaleAttrValueDao extends BaseMapper<SkuSaleAttrValueEntity> {

    List<SkuItemVo.SpuSaleAttrVo> selectSaleAttrBySpuId(@Param("spuId") Long spuId);

    List<String> selectSaleAttrListString(@Param("skuId") String skuId);

}
